/* $Id: FTStringMetrics.java 34 2006-09-26 19:37:39Z funsheep $ */
package net.sourceforge.ftgl.math;

/**
 * This object represents metrics for a string. It holds the {@link FTBBox} of the rendered glyphs and the advance-values,
 * to transform other string properly to this one (,represented by this string).
 * @author funsheep
 */
public class FTStringMetrics
{

	public final String string;
	public final FTBBox bbox;
	public final float advanceX;
	public final float advanceY;
	
	
	public FTStringMetrics(String string, FTBBox box, float advanceX, float advanceY)
	{
		this.string = string;
		this.bbox   = box;
		this.advanceX = advanceX;
		this.advanceY = advanceY;
	}
	
	
}
